<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery EasyUI</title>
	<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../themes/icon.css">
	<script type="text/javascript" src="../jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="../jquery.easyui.min.js"></script>
	<script type="text/javascript">
		function setsize(){
			$('#cc').width(700).height(350);
			$('#aa').trigger('_resize');
		}
		function select(){
			$('#aa').accordion('select','Title1');
}
//var test = eval('{"test":"d"}');
var test1 = eval('({"Remark":"Testing!Testing!Testing!\@nReplied by Chriso This is testing testing!!!","Creator":"0","iSun_Editor":"Chris Koo","BookPrice":"68","BookCopies":"","RequestTime":"2010-04-30 ","PassingDate":""})');
//var test2 =eval('({,"ManuID":"0","NewAuther":"","Reader":"初級","DocFile1":"/upload/F201004271604.pptx","Author":"0","iSun_Author":"","Series":"0","EstimatedPDate":"2010-05-27 ","DocFile3":"","BookBingID":"","NewTopicAdvantage":""})');
//var test3 = eval('({"BookSize":"","NewTopicID":"76","NewTopicName":"日語寶典","NewTopicDate":"2010-05-04 ","DocFile2":"/upload/F201004271619.doc","WhoReaded":"37","EdtiorNo":"36","ManuSorce":"","Remmark":"","BookPage":""})');
//var test4 = eval('({"CreateDate":"","ReadTime":"","NewSeries":"","GroupNo":"9","NewTopicStatus":"1","iSun_StatusString":"申報待核准","StatusSetter":"","iSun__Days":""})');

alert(test1.Remark);
	</script>
</head>
<body>
	<h1>Accordion</h1>
	<div style="margin-bottom: 10px;">
		<a href="#" onclick="setsize()">setsize</a>
		<a href="#" onclick="select()">select</a>
	</div>
	<div id="cc" style="overflow:auto;width:600px;height:300px;padding:10px;border:1px solid #ccc;">
		<div id="aa" class="easyui-accordion" fit="true" style="width:300px;height:200px;">
			<div title="Title1" icon="icon-ok" style="overflow:auto;padding:10px;">
				<h3 style="color:#0099FF;">Accordion for jQuery</h3>
				<p>Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.</p>
			</div>
			<div title="Title2" icon="icon-reload" selected="true" style="padding:10px;">
				content2
			</div>
			<div title="Title3">
				content3
			</div>
		</div>
	</div>
</body>
</html>